package creation_patterns.abstruct_factory_pattern.concrete_factory;

import creation_patterns.abstruct_factory_pattern.abstract_product.OperationController;
import creation_patterns.abstruct_factory_pattern.abstract_product.UIController;
import creation_patterns.abstruct_factory_pattern.concrete_product.android.AndroidOperationController;
import creation_patterns.abstruct_factory_pattern.concrete_product.android.AndroidUIController;
import creation_patterns.abstruct_factory_pattern.concrete_product.android.xiaomi.XiaomiOperationController;
import creation_patterns.abstruct_factory_pattern.concrete_product.android.xiaomi.XiaomiUIController;
import creation_patterns.abstruct_factory_pattern.factory.IFactory;

public class XiaomiAndroidFactory implements IFactory {
    @Override
    public OperationController getOperationControllerBean() {
        return new XiaomiOperationController();
    }

    @Override
    public UIController getUIControllerBean() {
        return new XiaomiUIController();
    }
}
